Skip to content

Add migration guide for handler patterns in Functions#2250

Merged
egermano merged 1 commit into
mainfrom
EDU-6638-migrating-handler-patterns
Jul 21, 2026
Merged

Add migration guide for handler patterns in Functions#2250
egermano merged 1 commit into
mainfrom
EDU-6638-migrating-handler-patterns

Conversation

@GabrielAzion

@GabrielAzion GabrielAzion commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Related issue: EDU-6638

Summary

New guide — Migrating handler patterns in Functions

Added a new guide explaining the two handler patterns supported by Azion Functions (ES Modules and Service Worker) and how to migrate from the legacy Service Worker pattern to the recommended ES Modules pattern.

Files added:

  • src/content/docs/en/pages/guides/edge-functions/migrate-handler-patterns.mdx
  • src/content/docs/pt-br/pages/guias/edge-functions/migrate-handler-patterns.mdx

Files changed (index links):

  • src/content/docs/en/pages/guides/index.mdx — added link under Functions Demonstrations
  • src/content/docs/pt-br/pages/guias/guides.mdx — added link under Demonstrações de Functions

Files deleted:

  • src/content/docs/en/pages/guides/edge-application/handler-patterns.md — temporary knowledge base file used as source reference

Key corrections applied to the source content:

  • Replaced Cloudflare-specific header CF-Connecting-IP with X-Forwarded-For
  • Updated nomenclature: Edge FunctionsFunctions
  • Removed bundler-specific troubleshooting (not applicable to Azion Runtime)

@GabrielAzion
GabrielAzion requested a review from a team as a code owner July 10, 2026 14:08
@egermano
egermano merged commit b3c2e25 into main Jul 21, 2026
3 checks passed
@egermano
egermano deleted the EDU-6638-migrating-handler-patterns branch July 21, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants